package com.angel.mapper;

import com.angel.bean.Product;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.angel.bean.AcupuncturePoint;

@Mapper
public interface AcupuncturePointDao {
    int insert(@Param("acupuncturePoint") AcupuncturePoint acupuncturePoint);

    int insertSelective(@Param("acupuncturePoint") AcupuncturePoint acupuncturePoint);

    int insertList(@Param("acupuncturePoints") List<AcupuncturePoint> acupuncturePoints);

    int update(@Param("acupuncturePoint") AcupuncturePoint acupuncturePoint);

    int updatestate(@Param("acupuncturePoint") AcupuncturePoint acupuncturePoint);

    List<AcupuncturePoint> findAll(@Param("acupuncturePoint")AcupuncturePoint acupuncturePoint);

    int deletOneId(@Param("acupuncturePoint")AcupuncturePoint acupuncturePoint);

    Page<AcupuncturePoint> page_acupuncturePoint(@Param("acupuncturePoint")AcupuncturePoint acupuncturePoint);

    List<AcupuncturePoint> searchAcupuncture(@Param("acupuncturePoint") AcupuncturePoint acupuncturePoint);

    List<AcupuncturePoint> searchAcupByOneTarget(@Param("acupuncturePoint") AcupuncturePoint acupuncturePoint);
}
